package cn.edu.zut.cs.Model;

import org.springframework.stereotype.Component;

@Component
public class Carinfo {

    private String CarID;
    private String CarClass;
    private int UserID;
    private int LotID;

    public String getCarID() {
        return CarID;
    }

    public void setCarID(String carID) {
        CarID = carID;
    }

    public String getCarClass() {
        return CarClass;
    }

    public void setCarClass(String carClass) {
        CarClass = carClass;
    }

    public int getUserID() {
        return UserID;
    }

    public void setUserID(int userID) {
        UserID = userID;
    }

    public int getLotID() {
        return LotID;
    }

    public void setLotID(int lotID) {
        LotID = lotID;
    }

    @Override
    public String toString() {
        return "Carinfo{" +
                "CarID='" + CarID + '\'' +
                ", CarClass='" + CarClass + '\'' +
                ", UserID=" + UserID +
                ", LotID=" + LotID +
                '}';
    }
}
